<template>
  <div>
    <tab-bar>
      <tab-bar-item link="/home">
        <template #item-text>首页</template>
      </tab-bar-item>
      <tab-bar-item link="/category">
        <template #item-text>分类</template>
      </tab-bar-item>
      <tab-bar-item link="/cart">
        <template #item-text>购物车</template>
        </tab-bar-item>
      <tab-bar-item link="/profile">
        <template #item-text>我的</template>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from 'components/common/tabbar/TabBar'
import TabBarItem from 'components/common/tabbar/TabBarItem'

export default {
  name: 'MainTabBar',
  components: {
    TabBar,
    TabBarItem
  }
}
</script>

<style scoped>
/* @import url(); 引入css类 */
</style>
